function toggle_collapse(objname) {
    var obj = document.getElementById(objname)
    obj.style.display = obj.style.display == '' ? 'none' : '';
}